package com.uton.rfidcontroller.viewmodel.activity_model;

import android.databinding.ObservableField;

import com.uton.rfidcontroller.R;
import com.uton.rfidcontroller.common.utils.Utils;
import com.uton.rfidcontroller.viewmodel.base.BaseViewModel;

/**
 * Created by 王家宝 on 2017/10/16.
 * Email:639586819@qq.com
 * Tel:18241150668
 */

public abstract class PreScanToWriteActivityViewModel extends BaseViewModel {
    public final ObservableField<String> scanState = new ObservableField<>(Utils.getString(R.string.ui_begin_scan));

    @Override
    public void refreshData() {

    }

    public PreScanToWriteActivityViewModel() {
        beginInit();
    }

    public abstract void scanToWrite();

    public abstract void beginInit();
}
